#include "connectwireless.h"
#include "ui_connectwireless.h"
#include <QPainter>
ConnectWireless::ConnectWireless(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::ConnectWireless)
{
    ui->setupUi(this);
    this->setWindowFlags(Qt::Dialog|Qt::FramelessWindowHint);
    setAttribute(Qt::WA_TranslucentBackground,true);
}

ConnectWireless::~ConnectWireless()
{
    delete ui;
}

void ConnectWireless::on_confirm_pushButton_clicked()
{
    this->close();
}

void ConnectWireless::paintEvent(QPaintEvent *event)
{
    Q_UNUSED(event)
    QPainter painter(this);
    painter.fillRect(rect(),QColor(0,0,0,100));
}
